[INFO] fetching crate unrust 0.1.6...
[INFO] fixing unrust-0.1.6 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate unrust 0.1.6 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate unrust 0.1.6
[INFO] finished tweaking crates.io crate unrust 0.1.6
[INFO] tweaked toml for crates.io crate unrust 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate unrust 0.1.6 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 293 packages to latest compatible versions
[INFO] [stderr]       Adding bevy v0.11.3 (available: v0.19.0)
[INFO] [stderr]       Adding block-sys v0.1.0-beta.1 (available: v0.1.0-beta.2)
[INFO] [stderr]       Adding block2 v0.2.0-alpha.6 (available: v0.2.0)
[INFO] [stderr]       Adding objc-sys v0.2.0-beta.2 (available: v0.2.0-beta.3)
[INFO] [stderr]       Adding objc2 v0.3.0-beta.3.patch-leaks.3 (available: v0.3.0-beta.5)
[INFO] [stderr]       Adding objc2-encode v2.0.0-pre.2 (available: v2.0.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding web-sys v0.3.72 (available: v0.3.102)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7
[INFO] running `Command { std: "docker" "start" "fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling uuid v1.23.3
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling async-executor v1.14.0
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling bevy_ptr v0.11.3
[INFO] [stderr]    Compiling smol_str v0.2.2
[INFO] [stderr]    Compiling bevy_macro_utils v0.11.3
[INFO] [stderr]    Compiling bevy_tasks v0.11.3
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling tracing-log v0.1.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling genco-macros v0.17.10
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling sysinfo v0.29.11
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling accesskit v0.11.2
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling bevy_utils_proc_macros v0.11.3
[INFO] [stderr]    Compiling bevy_reflect_derive v0.11.3
[INFO] [stderr]    Compiling bevy_ecs_macros v0.11.3
[INFO] [stderr]    Compiling bevy_derive v0.11.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling unrust-proc-macro v0.1.6
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking glam v0.24.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking erased-serde v0.3.31
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking bevy_utils v0.11.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling genco v0.17.10
[INFO] [stderr]     Checking tracing-error v0.2.1
[INFO] [stderr]     Checking bevy_math v0.11.3
[INFO] [stderr]     Checking bevy_reflect v0.11.3
[INFO] [stderr]     Checking bevy_ecs v0.11.3
[INFO] [stderr]     Checking bevy_app v0.11.3
[INFO] [stderr]     Checking bevy_core v0.11.3
[INFO] [stderr]     Checking bevy_log v0.11.3
[INFO] [stderr]     Checking bevy_time v0.11.3
[INFO] [stderr]     Checking bevy_input v0.11.3
[INFO] [stderr]     Checking bevy_a11y v0.11.3
[INFO] [stderr]     Checking bevy_hierarchy v0.11.3
[INFO] [stderr]     Checking bevy_diagnostic v0.11.3
[INFO] [stderr]     Checking bevy_asset v0.11.3
[INFO] [stderr]     Checking bevy_transform v0.11.3
[INFO] [stderr]     Checking bevy_window v0.11.3
[INFO] [stderr]     Checking bevy_internal v0.11.3
[INFO] [stderr]     Checking bevy v0.11.3
[INFO] [stderr]     Checking unrust-inbuilt v0.1.6
[INFO] [stderr]     Checking unrust-codegen v0.1.6
[INFO] [stderr]    Compiling unrust v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating unrust.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed unrust.rs (9 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> unrust.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]     |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]     |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> logger.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &RELOAD {
[INFO] [stdout]    |                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &raw const RELOAD {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> unrust.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]     |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]     |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> logger.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &RELOAD {
[INFO] [stdout]    |                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &raw const RELOAD {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: unrust v0.1.6 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling unrust v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> unrust.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 105 | ) -> u64 { unsafe {
[INFO] [stdout]     |            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 106 |     let components = unsafe { std::slice::from_raw_parts(inbuilt, len) };
[INFO] [stdout]     |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> unrust.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 105 | ) -> u64 { unsafe {
[INFO] [stdout]     |            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 106 |     let components = unsafe { std::slice::from_raw_parts(inbuilt, len) };
[INFO] [stdout] 107 |     let ctx = unsafe { Box::leak(Box::from_raw(ctx as *mut UnrustContext)) };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> unrust.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | ) -> u64 { unsafe {
[INFO] [stdout]     |            ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 112 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrefabComponent` is never constructed
[INFO] [stdout]   --> unity.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct PrefabComponent {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> unrust.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]     |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]     |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> logger.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &RELOAD {
[INFO] [stdout]    |                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &raw const RELOAD {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unrust` (lib test) due to 4 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> unrust.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 105 | ) -> u64 { unsafe {
[INFO] [stdout]     |            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 106 |     let components = unsafe { std::slice::from_raw_parts(inbuilt, len) };
[INFO] [stdout]     |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> unrust.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 105 | ) -> u64 { unsafe {
[INFO] [stdout]     |            ------ because it's nested under this `unsafe` block
[INFO] [stdout] 106 |     let components = unsafe { std::slice::from_raw_parts(inbuilt, len) };
[INFO] [stdout] 107 |     let ctx = unsafe { Box::leak(Box::from_raw(ctx as *mut UnrustContext)) };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> unrust.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | ) -> u64 { unsafe {
[INFO] [stdout]     |            ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 112 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrefabComponent` is never constructed
[INFO] [stdout]   --> unity.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct PrefabComponent {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> unrust.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]    |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> unrust.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &GAMEPLUGIN {
[INFO] [stdout]     |                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 113 |         if let Some(game) = &raw const GAMEPLUGIN {
[INFO] [stdout]     |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> logger.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &RELOAD {
[INFO] [stdout]    |                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(val) = &raw const RELOAD {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unrust` (lib) due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7", kill_on_drop: false }`
[INFO] [stdout] fec2cff4db796ec80e3accf9a6f4156f8260afabb7ccbce300a67e46ec5e4dd7
